export default defineAppConfig({
  pages: [
    'pages/home/index',
    'pages/classify/index',
    'pages/car/index',
    'pages/user/index',
    'pages/index/index',
    'pages/detail/index',
  ],
  window: {
    backgroundTextStyle: 'light',
    navigationBarBackgroundColor: '#fff',
    navigationBarTitleText: 'WeChat',
    navigationBarTextStyle: 'black'
  },
  tabBar: {
    list: [{
      text: '首页',
      pagePath: 'pages/home/index',
      selectedIconPath: './images/home-active.png',
      iconPath: './images/home.png'
    }, {
      text: '分类',
      pagePath: 'pages/classify/index',
      selectedIconPath: './images/classify-active.png',
      iconPath: './images/classify.png'
    }, {
      text: '购物车',
      pagePath: 'pages/car/index',
      selectedIconPath: './images/car-active.png',
      iconPath: './images/car.png'
    }, {
      text: '用户',
      pagePath: 'pages/user/index',
      selectedIconPath: './images/user-active.png',
      iconPath: './images/user.png'
    }]
  }
})
